package com.bbcare.followup.plat.service;

import com.bbcare.followup.plat.entity.MessageNotifyRecord;
import com.bbcare.followup.plat.entity.Patient;
import com.bbcare.followup.plat.entity.PatientTask;

import java.util.List;
import java.util.Map;

/**
 * 处理小程序后台的服务类。
 */
public interface IXCXService {
    public void checkRequest_addnewpatient(final String requestParams) throws Exception;

    /**
     * 查询窗口期任务（就诊日前N天的）。
     * @param paramIn
     * @return
     * @throws Exception
     */
    public List<PatientTask> queryWindowTasks(final Map<String, Object> paramIn) throws Exception;

    public boolean insertXcxMsg(final PatientTask task) throws Exception;

    public List<Map<String,Object>> queryXCJCTXmsg(final String tenantId, final String patId) throws Exception;

}
